package cn.edu.wit.utils;

import java.sql.Connection;
import java.sql.DriverManager;

public class DBManager {

	public static Connection getConn(){
		Connection conn = null;
		try {
			Class.forName("com.mysql.jdbc.Driver");
			conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/db_sims","root","123456");
		} catch (Exception e) {
			e.printStackTrace();
		}
		return conn;
	}
	
}
